Open Bug 1756135 Opened 3 years ago Updated 20 days ago

[US][wish.com] The state dropdown field is not auto-filled if the country selected is US

Categories

(Toolkit :: Form Autofill, task, P3)

Desktop
All
task

Tracking

()

Tracking Status
firefox97 --- affected
firefox98 --- affected
firefox99 --- affected

People

(Reporter: ailea, Unassigned)

References

(Blocks 2 open bugs, )

Details

Attachments

(5 files)

Attached video wish.mp4

Affected Versions:

Nightly 99.a1, Beta 98 and Release 97

Tested on:

MacOS 11
Windows 10

Preconditions:

browser.search.region US
extensions.formautofill.addresses.enabled - true
extensions.formautofill.addresses.supported to "detect"
extensions.formautofill.addresses.supportedCountries US,CA
download latest Firefox Nightly with region locale
have a complete address already saved in about:preferences#privacy

Steps to reproduce:

  1. Reach the address form on wish.com
  2. Using the autofill feature, select 1 saved address entry (make sure that Country/Region is US).
  3. Click on the Country/Region and select a Country different from US.
  4. Using the autofill feature, select 1 saved address entry.

Expected Results:

  1. All the fields should be successfully auto-filled.
  2. The Country should be auto-filled accordingly (changed to US).

Actual Results:

  1. If the country selected is United States, the State/Province dropdown is not auto-filled. If another country is selected the State/Province field becomes input field (not dropdown as it is when US is selected as Country) and it is auto-filled correctly.
  2. If another country than US is selected, by using the auto-fill, the Country is not accordingly changed to US (the Address Country saved in about:preferences).

Notes:

Reproducible on Chrome: Yes

Priority: -- → P3
Whiteboard: [fxcm-addr-compatibility]

The "State" and "Country" dropdown are not auto-filled because those fields are implemented with a <div>, not a <select> and we only autofill <input> and <select> now.

Whiteboard: [fxcm-addr-compatibility]

The issue isn't fixed, the same behaviour is reproducing on Firefox Nightly 115.0a1 (2023-05-25) also.

Attached file wish.html

The issue is still reproducible.
However, now the phone field is missing the dropdown and does not get autofilled when triggering the autocomplete dropdown from other fields Flipping the dynamic form support prefs to false does not make a difference.
Not reproducible in Chrome, where the autocomplete dropdown for the phone number is displayed correctly
Downloaded page

Type: defect → task
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: